package com.oyjd.ybx.bean.po;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
 * 在线交流实体
 * 
 * @author <b>欧建东<br/>
 *         Email:oyjd@163.com</b>
 * @version 1.0
 */
@Entity
@Table(name = "T_TALKD")
public class Talkd implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -525040940150728375L;

	/**
	 * 逻辑主键
	 */
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	@Column(name = "ID", length = 32)
	private String id;

	/**
	 * 对话帐号
	 */
	@Column(name = "TALK_ACCOUNT", length = 32)
	private String talkAccount;

	/**
	 * 受话帐号
	 */
	@Column(name = "GET_ACCOUNT", length = 32)
	private String getAccount;

	/**
	 * 对话内容
	 */
	@Column(name = "CONTENT", length = 200)
	private String content;

	/**
	 * 创建时间
	 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CREATE_TIME")
	private Date createTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTalkAccount() {
		return talkAccount;
	}

	public void setTalkAccount(String talkAccount) {
		this.talkAccount = talkAccount;
	}

	public String getGetAccount() {
		return getAccount;
	}

	public void setGetAccount(String getAccount) {
		this.getAccount = getAccount;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}